/*
 * OrderDetailShopActiveHolder.java
 * business
 *
 * Created by SunDing on 2016/12/10.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;
import com.yidiandao.business.ui.widget.view.ActiveLayout;

/**
 * 订单详情 订单活动显示
 */
public class OrderDetailShopActiveHolder extends ViewHolder {
    public ActiveLayout mActiveLayout;
    public LinearLayout mTvActive;
    public TextView mTvActiveTitle;
    public TextView mTvActiveInfo;

    @Override
    protected void initView(View rootView) {
        mActiveLayout = (ActiveLayout) rootView.findViewById(R.id.active_layout);
        mTvActive = (LinearLayout) rootView.findViewById(R.id.tv_active);
        mTvActiveTitle = (TextView) rootView.findViewById(R.id.tv_active_title);
        mTvActiveInfo = (TextView) rootView.findViewById(R.id.tv_active_info);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_order_detail_shop_active;
    }
}
